/**
 * Covalent Server Header File
 * 
 * File:        interface.h
 * Brief:       BRIEF
 * Author:      Chen Kangbing
 * Email:       ckblau@outlook.com
 * Modified:    2021/10/09 08:52:03
 *
 */


#ifndef INTERFACE_H
#define INTERFACE_H

#ifdef __cplusplus
extern "C" {
#endif 


#include "prototype.h"


int check_get_path(TransactionTypeDef *ptrans);
int fetch_file(TransactionTypeDef *ptrans);
int check_post_path(TransactionTypeDef *ptrans);
int exec_cgi(TransactionTypeDef *ptrans);
int load_error_page(TransactionTypeDef *ptrans);


#ifdef __cplusplus
}
#endif 

#endif
